Hummingbird\Core\Utils D

Total Complexity 284
Dependencies 10
Dependents 47
Total lines 1,620
Lines of code 930
Logical lines of code 490
Comment lines 509
Methods 56
Properties 0

Methods 56

Method Rating Maintainability Complexity Lines of code
get_active_features()
D
31 40 93
get_link()
B
37 22 75
enqueue_admin_scripts()
B
29
13 131
human_read_time_diff()
B
41 16 55
get_number_of_issues()
A
46 13 41
get_documentation_url()
A
47 11 37
get_performance_metric_for_mp()
A
47 11 33
minified_files_count()
A
53 9 21
get_ao_stats_data()
A
46 8 35
get_active_cache_modules()
A
54 9 19
format_interval()
A
57 9 15
calculate_sum()
S
56 5 17
wphb_is_page_builder()
S
52 4 27
unlock_now_link()
S
56 4 19
get_locale_data()
S
57 4 16
src_to_path()
S
57 4 16
is_hosted_site_connected_to_free_hub()
S
67 5 7
is_amp()
S
69 5 6
get_timezone_string()
S
60 4 14
get_admin_menu_url()
S
62 4 11
get_incompat_plugin_list()
S
54 3 21
get_tracking_data()
S
55 3 18
wphb_get_browser_status_for_mp()
S
64 4 9
is_ajax_network_admin()
S
70 4 6
get_admin_capability()
S
66 4 8
is_whitelabel_enabled()
S
70 4 6
is_admin_dashboard()
S
69 4 6
still_having_trouble_link()
S
60 3 14
get_days_of_week()
S
60 3 12
connect_url()
S
62 3 11
has_access_to_hub()
S
63 3 10
get_times()
S
62 3 10
get_whitelabel_class()
S
69 3 6
get_cache_page_title()
S
69 3 6
get_current_user_name()
S
64 3 10
is_member()
S
69 3 6
get_user_name()
S
74 2 4
is_site_hosted_with_whitelabel_disabled()
S
77 2 3
is_ao_status_bar_enabled()
S
79 2 3
is_homepage_preload_enabled()
S
74 2 4
is_subsite()
S
79 2 3
hb_count()
S
78 2 3
get_module()
S
74 2 4
is_dash_plugin_active_and_disconnected()
S
78 2 3
is_referrer_network_admin()
S
76 2 3
format_interval_hours()
S
68 2 7
format_bytes()
S
64 2 8
get_modules()
S
76 1 4
admin()
S
76 1 4
get_plugin_discount()
S
79 1 3
get_api()
S
76 1 4
get_avatar_url()
S
75 1 4
get_performance_metrics()
S
67 1 9
is_ao_processing()
S
80 1 3
is_site_hosted_on_wpmudev()
S
79 1 3
pro()
S
76 1 4